package com.yc.star.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 好友关系
 * </p>
 *
 * @author ljl
 * @since 2024-07-23
 */
@TableName("s_friend")
public class Friend implements Serializable {

    private static final long serialVersionUID = 1L;

      /**
     * 用户id
     */
        private Long userid;

      /**
     * 好友id
     */
        private Long friendid;

      /**
     * 好友分组
     */
      private String frigroup;

      /**
     * 创建时间
     */
      private LocalDateTime createTime;

      /**
     * 是否删除
     */
      private Byte isdelete;
    
    public Long getUserid() {
        return userid;
    }

      public void setUserid(Long userid) {
          this.userid = userid;
      }
    
    public Long getFriendid() {
        return friendid;
    }

      public void setFriendid(Long friendid) {
          this.friendid = friendid;
      }
    
    public String getFrigroup() {
        return frigroup;
    }

      public void setFrigroup(String frigroup) {
          this.frigroup = frigroup;
      }
    
    public LocalDateTime getCreateTime() {
        return createTime;
    }

      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
    
    public Byte getIsdelete() {
        return isdelete;
    }

      public void setIsdelete(Byte isdelete) {
          this.isdelete = isdelete;
      }

    @Override
    public String toString() {
        return "Friend{" +
              "userid = " + userid +
                  ", friendid = " + friendid +
                  ", frigroup = " + frigroup +
                  ", createTime = " + createTime +
                  ", isdelete = " + isdelete +
              "}";
    }
}
